home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / 8bit / cislib_a / fkey.doc < prev    next >
Text File  |  1995-04-22  |  3KB  |  66 lines

  1.                          FAST KEYBOARD REPEAT ROUTINES 
  2.  
  3.      The Atari keyboard auto-repeat is handy: it allows you to just hold a key 
  4. down instead of pressing it repeatedly. However, if you're used to other 
  5. computers, you probably find the auto-repeat response of the Atari a bit 
  6. sluggish (as in SLOW), especially when moving the cursor around. If you've 
  7. tried the fast ACTION! editor, you know that it IS possible to speed up the 
  8. Atari auto-repeat (although I find the initial ACTION! repeat response just a 
  9. little TOO fast). Here's a simple way to provide the same kind of response for 
  10. other programs. 
  11.  
  12.      FKEY.BIN and AWKEY.BIN are both immediate vertical blank interrupt 
  13. routines which roughly double the speed of the Atari auto-repeat. Both are 
  14. binary machine language Load files. (Don't forget when DOWnloading that these 
  15. are binary files!) They differ in that FKEY Loads into the cassette buffer, 
  16. whereas AWKEY Loads at and resets MEMLO. Hence, FKEY is a good choice if you 
  17. don't use the cassette buffer for any other purpose. AWKEY will work for other 
  18. programs, especially AtariWriter. 
  19.  
  20. USE: 
  21.  
  22.      Both programs can either be Loaded from the DOS menu or made part (or all) 
  23. of an AUTORUN.SYS file. Unfortunately, however, there is a problem when Loading 
  24. from DOS and then running a cartridge (B on the menu): Atari DOS 2.0S resets 
  25. the vertical blank interrupt routine vectors before running the cartridge, thus 
  26. disabling FKEY/AWKEY. There are three ways around this problem: 
  27.  
  28.      1. Use AUTORUN.SYS. 
  29.  
  30.      2. Disable the DOS (actually DUP) vertical blank reset. To do this for 
  31. Atari DOS 2.0S, use PROBJ (available in XA5 as PROBJ.BIN) to ZAP the file 
  32. DUP.SYS at address $2731 from $205CE4 to $EAEAEA, as you transfer it to an 
  33. output file; finish by Copying the output file back to DUP.SYS. Don't forget 
  34. that you have made this modification! 
  35.  
  36.      3. Restore the fast keyboard repeat routine from the cartridge. This is 
  37. most practical for FKEY, since AWKEY relocates to MEMLO, whereas the address of 
  38. FKEY never changes. From BASIC, type "A=USR(1100)". From Assembler/Editor, 
  39. assemble "JSR $44D" followed by "BRK", then execute from the dubugger. 
  40.  
  41. NOTES: 
  42.  
  43.      1. While there WILL be a noticeable improvement with AtariWriter, the AW 
  44. editor is too slow to get the maximum benefit from AWKEY. Also, AWKEY may be 
  45. copy/appended to AWDISK (AWDSK2.BIN) and/or your printer driver to form a 
  46. single AUTORUN.SYS file. 
  47.  
  48.      2. These routines have only been tested with Atari O.S. ROM "B". Because 
  49. they use an "unprotected" O.S. variable, SRTIMR, they may not work with other 
  50. versions of the O.S. 
  51.  
  52.      3. These routines have been tested with Atari DOS 2.0S and also Axlon 
  53. RamDisk MMS. They should work with any DOS that conforms to Atari conventions. 
  54.  
  55.      4. Since neither routine traps the DOSINI vector, they will be disabled by 
  56. SYSTEM RESET. 
  57.  
  58.      -John Navas [72645,1070] 
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.